package com.meizi.mall.ware.dao;

import com.meizi.mall.common.to.SkuStockTo;
import com.meizi.mall.ware.entity.WmsWareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品库存
 * 
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2021-01-20 09:33:38
 */
@Mapper
public interface WmsWareSkuDao extends BaseMapper<WmsWareSkuEntity> {

    List<SkuStockTo> getSkuHasStock(@Param("skuIds") List<Long> skuIds);
}
